package com.hejielife.singlethreadedexecution3;

/**
 * 2019年8月2日 上午10:28:42
 * 
 * @author hejielife
 * @despribe 把争夺的资源打包为一个资源
 */
public class Pair {
	private final Tool lefthand;
	private final Tool righthand;

	public Pair(Tool lefthand, Tool righthand) {
		this.lefthand = lefthand;
		this.righthand = righthand;
	}

	public String toString() {
		return "[ " + lefthand + " and " + righthand + " ]";
	}
}
